<fieldset>

    <legend>条件搜索</legend>

    <form action="{:request()->url()}" autocomplete="off" class="layui-form layui-form-pane form-search" method="get" onsubmit="return false">

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">订单编号</label>
            <label class="layui-input-inline">
                <input class="layui-input" name="order_id" placeholder="请输入订单编号" value="{$get.order_id|default=''}">
            </label>
        </div>

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">{:lang('店铺名称')}</label>
            <label class="layui-input-inline">
                <input class="layui-input" name="shop_name" placeholder="请输入店铺名称" value="{$get.shop_name|default=''}">
            </label>
        </div>
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">{:lang('账单类型')}</label>
            <div class="layui-input-inline">
                <select name='bill_type' lay-search class="layui-select">
                    <option value=''>-- {:lang('全部')} --</option>
                    {foreach $debtType as $k => $v}{if $k eq input('get.bill_type')}
                    <option selected value="{$k}">{$v}</option>
                    {else}
                    <option value="{$k}">{$v}</option>
                    {/if}{/foreach}
                </select>
            </div>
        </div>

            <div class="layui-form-item layui-inline">
                <label class="layui-form-label">结清时间</label>
                <label class="layui-input-inline">
                    <input class="layui-input" data-date-range name="gmt_created" placeholder="请选择下单时间" value="{$get.gmt_created|default=''}">
                </label>
            </div>

        <div class="layui-form-item layui-inline">
            <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
            <button class="layui-btn layui-btn-xs" data-reload type="button">刷 新</button>
        </div>

    </form>

</fieldset>